import request from '@/util/http';

/**
 *  新增蛋糕分类
 */
export const cateAdd = (data) =>
  request({
    method: 'POST',
    url: '/classes/CakeCate',
    data,
  });

/**
 *  请求分类列表
 */
export const getCateAPI = () =>
  request({
    url: '/classes/CakeCate',
  });
